package cn.hnh.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author HuangNianHong
 * @Time 2021/1/5
 * 文章标题实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleTitleVo {
    private Integer id;
    private String title;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
    private String date;
    private String description;
    private String categoriesName;
    private Integer commentsCount;
    private Integer readCount;
}
